<template>
  <div>
    <Chart :cdata="cdata" />
  </div>
</template>

<script>
import Chart from './chart.vue';
export default {
  props: {
    cdata: {
      type: Object,
      default: () => {}
    }
  },
  data () {
    return {
      // cdata: {
      //   xData: ["在线设备", "离线设备",],
      //   seriesData: [
      //     { value: 10, name: "在线设备" },
      //     { value: 5, name: "离线设备" }
      //   ]
      // }
    }
  },
  components: {
    Chart,
  },
  mounted () {
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
</style>